package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.mapper.CourseMapper;
import com.usian.mapper.StudentMapper;
import com.usian.pojos.Course;
import com.usian.pojos.Student;
import com.usian.service.CourseService;
import com.usian.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper,Student> implements StudentService {
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public void saveList(ArrayList<Student> students) {
       studentMapper.saveList(students);
    }
}
